﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Write.Application.Command.Account
{
    /// <summary>
    /// 创建账号的中介者请求命令
    /// </summary>
    public class CreateAccountCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 登录账号
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string AccountPass { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IDCard { get; set; }
        /// <summary>
        /// 角色Id
        /// </summary>
        public long RoleId { get; set; }
        /// <summary>
        /// 部门ID
        /// </summary>
        public long DepartmentId { get; set; }
    }
}
